package com.tulingxueyuan.config;

import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author MI
 * @ClassName FeignConfig.java
 * @createTime 2021年11月03日 16:47:00
 */
@Configuration
public class FeignConfig {

    @Bean
    public Logger.Level feignLogLevel() {
        return Logger.Level.FULL;
    }


    /*
     * feign 超时时间配置
     *
     */
    /*@Bean
    public Request.Options options() {
        return new Request.Options(5000, 10000);
    }*/

}
